package transport

import (
	"gitee.com/go-vulcanus/vulcanus/conf"
	"gitee.com/go-vulcanus/vulcanus/data"
	"gitee.com/go-vulcanus/vulcanus/session"
	"github.com/google/wire"
)

var TransportProviderSet = wire.NewSet(NewContext)

type Context struct {
	D  *data.Data
	C  *conf.App
	Sm *session.SessionManager
}

func NewContext(d *data.Data, c *conf.App, sm *session.SessionManager) *Context {
	return &Context{
		D:  d,
		C:  c,
		Sm: sm,
	}
}
